import arithmetic from './modules/arithmetic';


var bs = [9,8,7,6,5,4,3,2,1];
var qs = [9,2,11,3,5,100,25];
var is = [1,3,4,2,8,7,6,3,1];
var bs_s = [1,2,3,4,5,6,8,9,10];

console.log(bs, arithmetic.bubbleSort(bs.slice(0)));
console.log(qs, arithmetic.quickSort(qs.slice(0)));
console.log(is, arithmetic.insertSort(is.slice(0)));
console.log(bs_s, arithmetic.binarySearch(bs_s, 8));
console.log(bs_s, arithmetic.binarySearch_rc(bs_s, 8));
console.log(qs, arithmetic.selectSort(qs.slice(0)));


arithmetic.getPlalindrome('abbaccddd');